package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * app启动页设置对象 app_start_page
 * 
 * @author ruoyi
 * @date 2021-07-25
 */
public class AppStartPage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** app启动页设置表id */
    private Long id;

    /** 视频/图片地址 */
    @Excel(name = "视频/图片地址")
    private String imgUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 网址 */
    @Excel(name = "网址")
    private String webUrl;

    /** 类型 0照片 1视频 */
    @Excel(name = "类型 0照片 1视频")
    private Integer type;

    /** 执行时间 */
    @Excel(name = "执行时间")
    private Integer executionTime;

    /** 0启用 1停用 */
    @Excel(name = "0启用 1停用")
    private Integer state;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setWebUrl(String webUrl)
    {
        this.webUrl = webUrl;
    }

    public String getWebUrl()
    {
        return webUrl;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setExecutionTime(Integer executionTime)
    {
        this.executionTime = executionTime;
    }

    public Integer getExecutionTime()
    {
        return executionTime;
    }
    public void setState(Integer state) { this.state = state; }

    public Integer getState() { return state; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("imgUrl", getImgUrl())
                .append("sort", getSort())
                .append("webUrl", getWebUrl())
                .append("type", getType())
                .append("executionTime", getExecutionTime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("state", getState())
                .toString();
    }
}